package ipebg.mzk.facade.entity;

/**
 * @author H2601982
 * 楊小雲——組織
 */
import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@SuppressWarnings("serial")
@Entity
@Table(name = "TB_COMMON_ORG")
public class Org implements Serializable{

	@Id
	@GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
	@GeneratedValue(generator = "hibernate-uuid")
	@Column(name = "ORG_ID")
	private String orgId;
	
	/**
	 * 廠區:鄭州綜保區：ZZK、鄭州加工區：ZZC、濟源：JYX、晉城：JCX、龍華：LHX、觀瀾：GLX、鶴壁：HBX
	 */
	@Column(name = "DOMINATE")
	private String dominate;
	
	/**
	 * 組織名稱
	 */
	@Column(name = "ORG_NAME")
	private String orgName;
	
	/**
	 * 組織代碼，唯一
	 */
	@Column(name = "ORG_CODE")
	private String orgCode;
	
	/**
	 * 費用代碼
	 */
	@Column(name = "ORG_FEE")
	private String orgFee;
	
	/**
	 * 組織層級ID
	 */
	@Column(name = "ORG_LEVEL_ID")
	private String orgLevelId;
	
	/**
	 * 主管工號
	 */
	@Column(name = "LEADER_NO")
	private String leaderNo;
	
	/**
	 * 主管姓名
	 */
	@Column(name = "LEADER_NAME")
	private String leaderName;
	
	/**
	 * 上層組織ID
	 */
	@Column(name = "PARENT_ID")
	private String parentId;
	
	/**
	 * 是否有效，0：無效，1：有效
	 */
	@Column(name = "ENABLE")
	private String enable;
	
	@Column(name = "CREATE_NAME")
	private String createName;
	
	@Column(name = "CREATE_TIME")
	private Date createTime;
	
	@Column(name = "MODIFY_NAME")
	private String modifyName;
	
	@Column(name = "MODIFY_TIME")
	private Date modifyTime;

	public String getDominate() {
		return dominate;
	}

	public void setDominate(String dominate) {
		this.dominate = dominate;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getOrgFee() {
		return orgFee;
	}

	public void setOrgFee(String orgFee) {
		this.orgFee = orgFee;
	}

	public String getLevelId() {
		return orgLevelId;
	}

	public void setLevelId(String orgLevelId) {
		this.orgLevelId = orgLevelId;
	}

	public String getLeaderNo() {
		return leaderNo;
	}

	public void setLeaderNo(String leaderNo) {
		this.leaderNo = leaderNo;
	}

	public String getLeaderName() {
		return leaderName;
	}

	public void setLeaderName(String leaderName) {
		this.leaderName = leaderName;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getEnable() {
		return enable;
	}

	public void setEnable(String enable) {
		this.enable = enable;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getModifyName() {
		return modifyName;
	}

	public void setModifyName(String modifyName) {
		this.modifyName = modifyName;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	
}
